/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Form;

import DAOImpl.BaseImpl;
import DAOImpl.CriminalImpl;
import DAOImpl.LoginImpl;
import POJO.*;
import org.omg.PortableInterceptor.SYSTEM_EXCEPTION;

/**
 *
 * @author NAT
 */
public class Test {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        BaseImpl bi = new BaseImpl();
        //bi.update(new Object());
        Login login = new Login();
        if (login.login("tiep", "tiep")) 
            System.out.println("successful!");
        else
            System.err.println("faile");
        System.out.println(login.getAccType()+login.getStatus());
        //ci.insert(new Criminal(1,"Nguyen Anh","Tieps"));
    }
}
